/**
 * 用户登录参数
 */
export interface IUserLoginVo {
    username: string,
    password: string
}

/**
 * 后端返回的用户信息
 */
export interface IUserInfoDto {
    id: string,
    username: string,
    nickName: string,
    level: string,
    avatar: string
}

/**
 * 创建用户的参数
 */
export interface ICreateUserInfoVo extends IUserLoginVo {
    nickName: string,
}

export interface IPage<T> {
    records: T[]
    total: number       // 总数
    size: number        // 单页数量
    current: number     // 当前页码
    pages: number       // 总页数
}


export interface ObjType {
    id: string,
    contentName: string,
    contentType: string,
    color: string
}

export interface ObjInfo {
    id: string
    objLink: string
    objName: string
    objType: ObjType
    createTime: string
    createUser: string
}

export interface PojInfoVo {
    id?: string
    name: string
    refObjList: string[]
    description: string
    pojType: string
}

export interface PojInfoDto {
    id: string,
    name: string
    description: string
    pojType: string
    objInfoList: ObjInfo[]
    createTime: string
    updateTime: string
    createUser: string
}